package com.songlanyun.modules.opus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.opus.entity.OpusTheme;

import java.util.List;
import java.util.Map;

/**
 * 作品关联商品
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-02-24 10:42:35
 */
public interface OpusThemeService extends IService<OpusTheme> {

    PageUtils queryPage(Map<String, Object> params);

    void saveOpusTheme(Long oid, List<Long> themeIds);

    void removeByOid(Long oid);

    void removeByTid(Integer tid);

    List<OpusTheme> listByOpusId(Long oid);

    Integer opusNum(Long id);
}

